#ifndef PLAYSCENE_H
#define PLAYSCENE_H

#include <QMainWindow>
#include <QMenuBar>
#include "mycoin.h"

class PlayScene : public QMainWindow
{
    Q_OBJECT
public:
    //成员变量 记录关卡索引
    int level;
    PlayScene(int level);

    void paintEvent(QPaintEvent* event);
    //二维数组数据
    int gameArray[4][4];
    //金币按钮数组
    MyCoin* myCoin[4][4];
    //是否胜利
    bool isWin = true;
signals:
    void ChooseBackButton();
};

#endif // PLAYSCENE_H
